SET(APPLICATION_NAME ooview )


ADD_EXECUTABLE(${APPLICATION_NAME} ${APPLICATION_NAME}.cpp)


TARGET_LINK_LIBRARIES(  ${APPLICATION_NAME}
                        ooViewer
                        osgDB
                        osgODE
)


IF(NOT WIN32)

    INSTALL(    TARGETS ${APPLICATION_NAME}
                RUNTIME DESTINATION bin)

ELSE(NOT WIN32)



    INSTALL(    TARGETS ${APPLICATION_NAME}
                RUNTIME DESTINATION bin
                LIBRARY DESTINATION lib
                ARCHIVE DESTINATION lib)



ENDIF(NOT WIN32)
